package com.zhiyou.user.pojo;

import javax.persistence.Id;
import java.sql.Timestamp;

public class User {
    @Id
    private Integer id;
    private String moble;
    private String password;
    private String username;
    private Timestamp gen_time;
    private String imgs;
    private String payment;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMoble() {
        return moble;
    }

    public void setMoble(String moble) {
        this.moble = moble;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Timestamp getGen_time() {
        return gen_time;
    }

    public void setGen_time(Timestamp gen_time) {
        this.gen_time = gen_time;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public String getPayment() {
        return payment;
    }

    public void setPayment(String payment) {
        this.payment = payment;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", moble='" + moble + '\'' +
                ", password='" + password + '\'' +
                ", username='" + username + '\'' +
                ", gen_time=" + gen_time +
                ", imgs='" + imgs + '\'' +
                ", payment='" + payment + '\'' +
                '}';
    }
}
